package com.ruoyi.order.service.impl;

import com.ruoyi.order.mapper.StatisticsMapper;
import com.ruoyi.order.service.StatisticsService;
import com.ruoyi.order.domain.StatisticsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: 少康
 * @Date: 2023/05/05/19:33
 */
@Service
public class StatisticsServiceImpl implements StatisticsService {
    @Autowired
    private StatisticsMapper statisticsMapper;
    @Override
    public List<StatisticsVo> selectOrderNum(Map map) {
        return statisticsMapper.selectOrderNum(map);
    }

    @Override
    public List<StatisticsVo> selectOrderMoney(Map map) {
        return statisticsMapper.selectOrderMoney(map);
    }

    @Override
    public List<StatisticsVo> selectUserNum(Map map) {
        return statisticsMapper.selectUserNum(map);
    }

    @Override
    public List<StatisticsVo> selectdishes(Map map) {
        return statisticsMapper.selectdishes(map);
    }
}
